projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77a765f
)
* image.c (gif_load): Fix pointer signedness.
author
Paul Eggert
<eggert@cs.ucla.edu>
Fri, 11 Mar 2011 08:01:09 +0000
(
00:01
-0800)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Fri, 11 Mar 2011 08:01:09 +0000
(
00:01
-0800)
src/ChangeLog
patch
|
blob
|
history
src/image.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index cb535bad8a42d407378da48e560140055b0edf7f..7170fcc162a41d3a45305f613b1664de3f7876b6 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-5,6
+5,7
@@
(xpm_load): Redo to avoid "discards qualifiers" gcc warning.
(x_edge_detection): Remove unnecessary cast that
gcc -Wbad-function-cast diagnoses.
+ (gif_load): Fix pointer signedness.
2011-03-11 Paul Eggert <eggert@cs.ucla.edu>
diff --git
a/src/image.c
b/src/image.c
index 810bd4be9896da64f3a3f750e2aed2929dbaf6b4..383e154b26517a3b83f14f8a2e6dcc7ae8d065c8 100644
(file)
--- a/
src/image.c
+++ b/
src/image.c
@@
-7127,7
+7127,7
@@
gif_load (struct frame *f, struct image *img)
}
/* Open the GIF file. */
- gif = fn_DGifOpenFileName (SDATA (file));
+ gif = fn_DGifOpenFileName (S
S
DATA (file));
if (gif == NULL)
{
image_error ("Cannot open `%s'", file, Qnil);